package org.bees.cms.web.action.clause;

import javax.annotation.Resource;

import org.bees.cms.core.clause.Restriction;
import org.bees.cms.service.Service;
import org.bees.cms.service.clause.RestrictionService;
import org.bees.cms.web.action.PagingActionSupport;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

@Scope("prototype")
@Controller
public class RestrictionPagingAction extends PagingActionSupport<Restriction> {
	@Resource
	private RestrictionService restrictionServiceBean;

	@Override
	public Service<Restriction> service() {
		return restrictionServiceBean;
	}

}
